package com.micro.service.service;

import com.micro.service.model.UserArticle;
import com.mongodb.client.result.DeleteResult;

import java.util.List;

/**
 * Create by Vic Xu on 2019/3/9
 */
public interface UserArticleService {

    UserArticle saveUserArticle(UserArticle userArticle);

    List<UserArticle> findAll();

    List<UserArticle> findByCardId(UserArticle userArticle);

    UserArticle updateUserArticle(UserArticle userArticle);

     void deleteUserArticleById(Object id);


}
